import request from '@/utils/request'
import qs from 'qs'

// 获取提现列表
export function getAccountBookWithdrawList(status,pageNumber, pageSize) {
  return request({
    url: '/brush/account_book/list',
    method: 'get',
    params: {
      pageNumber: pageNumber,
      pageSize: pageSize,
      type: 1,
      status:status,
    }
  })
}

// 同意/拒绝提现
export function auditWithdraw(accountBookId, status,reason) {
  return request({
    url: '/brush/account_book/audit_withdraw',
    method: 'post',
    data: qs.stringify({
      accountBookId,
      status,
      reason
    })
  })
}


